﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kokomo.Lexical.Expressions;

namespace Kokomo.PeInspector.Reflection.Query
{
	class QuerySource : QueryExpression
	{
		public IEnumerable<TypedVariable> RangeVariables { get; private set; }

		public QuerySource(
			Expression projection,
			IEnumerable<TypedVariable> rangeVariables
			)
			: base(projection)
		{
			if (rangeVariables == null) throw new ArgumentNullException("rangeVariables");

			this.RangeVariables = rangeVariables;
		}
	}
}
